﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace PropertyManagementSystemAPI.Models {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "parkinguseinfo", DisableSyncStructure = true)]
	public partial class Parkinguseinfo {

		/// <summary>
		/// 车位使用id，主键
		/// </summary>
		[JsonProperty, Column(Name = "useid", DbType = "int", IsPrimary = true, IsIdentity = true)]
		public int Useid { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		[JsonProperty, Column(Name = "createtime", DbType = "datetime")]
		public DateTime? Createtime { get; set; }

		/// <summary>
		/// 是否删除
		/// </summary>
		[JsonProperty, Column(Name = "isdelete")]
		public bool? Isdelete { get; set; }

		/// <summary>
		/// 车位使用人，外键
		/// </summary>
		[JsonProperty, Column(Name = "oid", DbType = "int")]
		public int? Oid { get; set; }

		/// <summary>
		/// 停车位id   外键
		/// </summary>
		[JsonProperty, Column(Name = "pid", DbType = "int")]
		public int? Pid { get; set; }

		/// <summary>
		/// 外键   车位价格id
		/// </summary>
		[JsonProperty, Column(Name = "priceid", DbType = "int")]
		public int? Priceid { get; set; }

		/// <summary>
		/// 结束时间
		/// </summary>
		[JsonProperty, Column(Name = "useendtime", DbType = "datetime")]
		public DateTime? Useendtime { get; set; }

		/// <summary>
		/// 开始时间
		/// </summary>
		[JsonProperty, Column(Name = "usestarttime", DbType = "datetime")]
		public DateTime? Usestarttime { get; set; }

	}

}
